package com.origin.src.lazy;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;

@Component
@Lazy
public class LazyB {

    public String application;

    public LazyB() {
        System.out.println("LazyB");
        application = "app";
    }

    public void to() {
        System.out.println("属性："+application);
    }

}
